package com.xh.fma.commodity.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xh.common.utils.PageUtils;
import com.xh.fma.commodity.entity.CategoryEntity;
import com.xh.fma.commodity.vo.Catalog2Vo;

import java.util.List;
import java.util.Map;

/**
 * 商品分类表
 *
 * @author sjf
 * @email xhyy7762@gmail.com
 * @date 2023-05-16 09:49:03
 */
public interface CategoryService extends IService<CategoryEntity> {


    List<CategoryEntity> listTree();

    List<CategoryEntity> listLeve1();

    Long[] selectCategory (Long categoryId);

    PageUtils queryPage(Map<String, Object> params);

    Map<String , List<Catalog2Vo>> getCatalogJson();
}

